package com.woniu.dto;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class SiteListDto {

    @ApiModelProperty(value = "站点ID")
    private Integer id;

    @ApiModelProperty(value = "站点名称")
    private String siteName;

    @ApiModelProperty(value = "站点地址")
    private String siteAddress;

    @ApiModelProperty(value = "经度")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    private Double latitude;

    @ApiModelProperty(value = "营业时间")
    private List<BusinessHoursDto> businessHours;

    @ApiModelProperty(value = "状态：1正常0暂停营业")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime creatTime;

    @ApiModelProperty(value = "站点联系人电话")
    private String siteUserPhone;

    @ApiModelProperty(value = "站点联系人姓名")
    private String siteUserName;

    @ApiModelProperty(value = "站点简介")
    private String siteDesc;

    @ApiModelProperty(value = "站点城市")
    private String city;

    @ApiModelProperty(value = "站点区/县")
    private String district;

}
